package com.lap.auth.application.authentication.command;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "登录命令")
public class LoginCmd {

  @NotBlank(message = "{login.user.required}")
  @Schema(description = "登录帐号")
  private String userName;

  @NotBlank(message = "{login.password.required}")
  @Schema(description = "登录密码")
  private String password;
}
